﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using SQLExecute;

/// <summary>
/// Summary description for typeoftraining
/// </summary>
public class typeoftraining
{
    private string _type_of_training;
    DataSet ds;
	public typeoftraining()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public string TypeOfTraining
    {
        set { _type_of_training = value; }
        get { return _type_of_training; }
    }

    public DataSet Get_List_OfTypeTraining()
    {
        ds = SqlHelper.ExecuteDataset(Common.strConnect, "Get_List_OfTypeTraining");

        return ds;
    }
    public void Insert_TypeOfTraining()
    {
        SqlHelper.ExecuteNonQuery(Common.strConnect, "Insert_TypeOfTraining");
    }
}
